package com.issoft.studentresitor.domain.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author GJH
 * @since 2025-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("clazz")
public class Clazz implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 班级ID，主键自增
     */
    @TableId(value = "class_id", type = IdType.AUTO)
    private Integer classId;

    /**
     * 班级名称
     */
    private String className;

    /**
     * 专业ID，关联专业表
     */
    private Integer majorId;

    /**
     * 班主任联系方式
     */
    private String headTeacherContact;

    /**
     * 课程安排
     */
    private String courseSchedule;
    /**
     * 辅导员
     */
    private String headTeacher;
    /**
     * 年级
     */
    private String grade;
    /**
     * 班级容量
     */
    private Integer capacity;

}
